const routes = [
    {
        path: '/',
        redirect: '/conf-center/dataSources',
    },
    {
        path: '/conf-center',
        redirect: '/conf-center/dataSources',
    },
    {
        name: 'dataSources',
        path: '/conf-center/dataSources',
        component: () =>
            import('@/pages/dataSources'),
        meta: {
            iskeep: false,
            title: "数据源配置"
        }
    },
    {
        name: 'Indicators',
        path: '/conf-center/Indicators',
        component: () =>
            import('@/pages/Indicators'),
        meta: {
            iskeep: false,
            title: "指标配置"
        }
    },
    {
        name: 'PromptInformation',
        path: '/conf-center/PromptInformation',
        component: () =>
            import('@/pages/PromptInformation'),
        meta: {
            iskeep: false,
            title: "提示消息"
        },
        children:[
            // 配置二级路由动态路由路径以冒号开头
          ]
    },
    {
        name:"NewPage",
        path:"/conf-center/NewPage",
        component:()=>
            import('@/pages/NewPage'),
    },
    {
        name: '404',
        path: '*',
        component: () =>
            import('@/pages/404'),
    },
]
export default routes